home *** CD-ROM | disk | FTP | other *** search
- ===================================================================
- RCS file: /s/usr2/K/repo/tools/cmu-snmp/snmplib/parse.h,v
- retrieving revision 1.1
- diff -c -r1.1 parse.h
- *** /tmp/,RCSt1a22345 Tue Sep 24 20:23:01 1991
- --- parse.h Tue Aug 20 22:05:02 1991
- ***************
- *** 1,3 ****
- --- 1,4 ----
- + /* $Id: parse.h,v 1.2 91/07/27 23:38:30 nik Exp $ */
- /***********************************************************
- Copyright 1989 by Carnegie Mellon University
-
- ***************
- *** 23,28 ****
- --- 24,32 ----
- * parse.h
- */
-
- + #define MAXLABEL 64 /* maximum characters in a label */
- + #define MAXTOKEN 64 /* maximum characters in a token */
- +
- /*
- * A linked list of tag-value pairs for enumerated integers.
- */
- ***************
- *** 37,45 ****
- */
- struct node {
- struct node *next;
- ! char label[32]; /* This node's (unique) textual name */
- u_long subid; /* This node's integer subidentifier */
- ! char parent[32];/* The parent's textual name */
- int type; /* The type of object this represents */
- struct enum_list *enums; /* (optional) list of enumerated integers (otherwise NULL) */
- };
- --- 41,49 ----
- */
- struct node {
- struct node *next;
- ! char label[MAXLABEL]; /* This node's (unique) textual name */
- u_long subid; /* This node's integer subidentifier */
- ! char parent[MAXLABEL];/* The parent's textual name */
- int type; /* The type of object this represents */
- struct enum_list *enums; /* (optional) list of enumerated integers (otherwise NULL) */
- };
- ***************
- *** 51,57 ****
- struct tree *child_list; /* list of children of this node */
- struct tree *next_peer; /* Next node in list of peers */
- struct tree *parent;
- ! char label[32]; /* This node's textual name */
- u_long subid; /* This node's integer subidentifier */
- int type; /* This node's object type */
- struct enum_list *enums; /* (optional) list of enumerated integers (otherwise NULL) */
- --- 55,61 ----
- struct tree *child_list; /* list of children of this node */
- struct tree *next_peer; /* Next node in list of peers */
- struct tree *parent;
- ! char label[MAXLABEL]; /* This node's textual name */
- u_long subid; /* This node's integer subidentifier */
- int type; /* This node's object type */
- struct enum_list *enums; /* (optional) list of enumerated integers (otherwise NULL) */
-